package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 金币兑换配置
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-20 11:48:56
 */
@Getter
@Setter
@TableName("t_gold_exchange")
@ApiModel(value = "GoldExchange对象", description = "金币兑换配置")
public class GoldExchange implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private Integer id;

    @ApiModelProperty("兑换金币数")
    @TableField("gold_count")
    private Integer goldCount;

    @ApiModelProperty("所需积分数")
    @TableField("integral_count")
    private Integer integralCount;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("是否删除")
    @TableField("is_delete")
    @TableLogic
    private String isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
